#!/usr/bin/python

for i in open("/etc/passwd"):
    c = i.split(":")
    if int(c[2]) >= 500 and int(c[2]) <= 2000:
         print("%s uid is %s" %(c[0],c[2]))
